﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sealight.Data
{
    public abstract class RepositoryBase<T> : IRepository<T>
    {
        #region IRepository<T> Members       

        public abstract T GetById(Guid id);

        public abstract void Save(T entity);

        public abstract void SaveOrUpdate(T entity);

        public abstract void Update(T entity);

        public abstract IList<T> GetAll();

        public abstract void Delete(T entity);
        #endregion
    }
}
